package com.robotserver.orders.mapper;

import com.robotserver.orders.entity.VipOrders;
import com.robotserver.orders.param.biz.VipOrderPullParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther: jianghan
 * @Date: 2020/12/2 15:37
 * @Description:
 */
@Repository
public interface VipOrdersMapper {
    VipOrders getByOrderSn(@Param("orderSn") String orderSn,@Param("goodsId") String goodsId,@Param("sizeId")String sizeId);
    void add(VipOrders vipOrders);
    void update(VipOrders vipOrders);

    List<VipOrders> getOrderList(VipOrderPullParam param);

    void deleteOrdersExpired(@Param("expiredTime") Integer expiredTime);

    void updateUpdateTime(@Param("childOrderNo") String childOrderNo);
}
